#if !defined(AFX_MYMUSICLIST_H__CC071916_328E_4CBC_8E1A_C6969E95ED27__INCLUDED_)
#define AFX_MYMUSICLIST_H__CC071916_328E_4CBC_8E1A_C6969E95ED27__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// myMusicList.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// myMusicList window

class myMusicList : public CListBox
{
// Construction
public:
	myMusicList();
	
	void DeleteItem(int sId);
    void PreDirectory(CString DirName);
	CString GetFileTitleFromFileName(CString FileName, BOOL Ext);
// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(myMusicList)
	public:
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
    virtual	void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
	//}}AFX_VIRTUAL

// Implementation
public:
	

	virtual ~myMusicList();

	// Generated message map functions
protected:
	//{{AFX_MSG(myMusicList)
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	  afx_msg void OnADDMp3();
	afx_msg void OnADDMp3FLODER();
	

	afx_msg void OnDeleteAll();

	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
		private:
    void changItemAttribsId();
	void CreatXml();
	void SaveToXml();
	void AddToXml(CString Path, int j);
	BOOL PopFileOpenDlg(PTSTR pstrFileName, PTSTR pstrTitleName);
	void PopFileInitialize();
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYMUSICLIST_H__CC071916_328E_4CBC_8E1A_C6969E95ED27__INCLUDED_)
